/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package composite;

/**
 *
 * @author Emmanuel
 */
public class Hoja extends Componente{
    
        public Hoja (String nombre)
        {
                super(nombre);
        }

    @Override
    public void hacerAlgo() {
        System.out.println("Hago algo HOJA");
    }
       
    
}
